package com.cyc.basic.view;

public class SingleTon {

    public static volatile SingleTon singleTon;

    private SingleTon() {

    }

    public static synchronized SingleTon getSingleTon() {
            if (singleTon == null) {
                return new SingleTon();
            }
            return singleTon;
    }
}